export default {
  state:{
    isShow:false,
    index:2,
    contentList:['区域车辆数据展示','车组数据展示','单车实时数据展示','历史路段轨迹展示'],
    get content(){
      return this.contentList[this.index]
    }
  },
  mutations:{
    updateSubTitle(state,payload){
      state.isShow = payload.isShow;
      state.index = payload.index;
    },
  }
}
